import yaml

def read_config(path:str):
    with open(path) as stream:
        try:
            return yaml.safe_load(stream)
        except yaml.YAMLError as exc:
            print(exc)


if __name__ == '__main__':
    print(read_config('/scripts/ECL_config.yaml'))
